package com.shaozj.system.converter;

import com.shaozj.system.model.entity.SysMenu;
import com.shaozj.system.model.form.MenuForm;
import com.shaozj.system.model.vo.MenuVO;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface MenuConverter {

    MenuVO entity2Vo(SysMenu sysMenu);

    SysMenu form2Entity(MenuForm menuForm);

    MenuForm entity2Form(SysMenu sysMenu);
}
